package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @Author
 * @Date 2024/4/28 20:07
 * @Description:
 */
public interface DishService extends IService<Dish> {

    public PageResult pageQuery(DishPageQueryDTO dishDTO);

    void deleteDishByids(List<Long> ids);

    void statusUpdate(Integer status, Long id);

    DishVO getByIdWithFlavor(Long id);

    void updateWithFlavor(DishDTO dishVO);


    List<DishVO> listWithFlavor(Dish dish);

    List<Dish> list(Long categoryId);
}
